package com.meilai.project.service.business.media;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.meilai.project.dto.system.ImportDeviceByCodeDTO;
import com.meilai.project.dto.system.ImportDeviceByCodeDelDTO;
import com.meilai.project.entity.media.ImportDeviceByCode;
import com.meilai.project.vo.business.media.ImportDeviceByCodeVO;


public interface ImportDeviceByCodeService extends IService<ImportDeviceByCode> {

    void validDTO(ImportDeviceByCodeDTO dto);

    Long addRecord(ImportDeviceByCodeDTO dto);

    boolean addOne(ImportDeviceByCodeDTO dto, Long record_id);

    boolean delOne(ImportDeviceByCodeDelDTO dto);

    Page<ImportDeviceByCodeVO> selectPageList(Integer current_page, Integer page_size);
}
